using System;
using System.Collections.Generic;
using System.Text;
using TimeTabling.Core;

namespace Seas.Core
{
	public class Resource : Basic
	{
		public string Name
        { get; set; }

		public Center Center
        { get; set; }

        public ResourceType ResourceType
        { get; set; }

        public IList<ClassRoomResource> classRoomResource { get; set; }
        public IList<ClassRoomResource> ClassRoomResource
        {
            get
            {
                if (classRoomResource == null)
                {
                    classRoomResource = new List<ClassRoomResource>();
                }
                return classRoomResource;
            }
            set
            {
                classRoomResource = value;
            }
        }

        public IList<SubjectResource> subjectResource { get; set; }
        public IList<SubjectResource> SubjectResource
        {
            get
            {
                if (subjectResource == null)
                {
                    subjectResource = new List<SubjectResource>();
                }
                return subjectResource;
            }
            set
            {
                subjectResource = value;
            }
        }

	}
}
